#ifndef __DTU_H
#define __DTU_H

//----------------------------------Include-------------------------------------
#include  <stdint.h>
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
#define  DTU_IMEI_LEN               (15)
//------------------------------------------------------------------------------

//------------------------------------Type--------------------------------------
//------------------------------------------------------------------------------

//---------------------------------Share Var------------------------------------
#ifdef  DTU_GLOBALS
#else
extern char      ga_imei[DTU_IMEI_LEN+1];
extern uint32_t  gu32_local_ip;
extern uint8_t   gu8_csq;
#endif
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
void     dtu_wr_buf(char* p, uint32_t len);
void     dtu_push(void);
//------------------------------------------------------------------------------
uint32_t dtu_get_rcv_addr(void);
uint32_t dtu_get_rcv_size(void);
void     it_dtu_dma_rcv_done(uint32_t cnt);
//------------------------------------------------------------------------------
void     dtu_pwr_off(void);
void     dtu_cyc(void);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------





